<h2 class="contentTitle">添加视频分类</h2>
<style type="text/css" media="screen">
.my-uploadify-button {
	background:none;
	border: none;
	text-shadow: none;
	border-radius:0;
}

.uploadify:hover .my-uploadify-button {
	background:none;
	border: none;
}

.fileQueue {
	width: 400px;
	height: 150px;
	overflow: auto;
	border: 1px solid #E5E5E5;
	margin-bottom: 10px;
}
</style>


<div class="pageContent">
	
	<form method="post" action="<?php echo site_url('admin/video/up_video');?>" class="pageForm required-validate" onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap" layoutH="97">
 			<dl>
				<dt>上级分类：</dt>
				<dd>
                                        <select class="combox" name="name1" ref="w_combox_city" refUrl="<?php echo site_url('admin/video/add_video_list');?>/{value}">
                                                <option value="<?php echo $data['name1'];?>"><?php echo $data['name1'];?></option>
                                            </select>
                                            <select class="combox" name="name2" id="w_combox_city">
                                                    <option value="<?php echo $data['name2'];?>"><?php echo $data['name2'];?></option>
                                            </select>
                                            <select class="combox" name="name3" id="w_combox_area">
                                                    <option value="<?php echo $data['name3'];?>"><?php echo $data['name3'];?></option>
                                        </select>
				</dd>
			</dl>
            <dl>
				<input id="lecture" type="file" name="lecture" 
                                        uploaderOption="{
                                                swf:'<?php echo base_url('static/uploadify/scripts/uploadify.swf');?>',
                                                uploader:'<?php echo site_url('admin/video/up_lecture/'.$data['name3']);?>',
                                                formData:{PHPSESSID:'xxx', ajax:1},
                                                buttonText:'请选择课堂笔记',
                                                fileSizeLimit:'2000000KB',
                                                fileTypeDesc:'*.zip;*.rar;',
                                                fileTypeExts:'*.zip;*.rar;',
                                                auto:true,
                                                multi:true,
                                                debug:false,
                                                onUploadSuccess:uploadifySuccess,
                                                onQueueComplete:uploadifyQueueComplete
                                        }"
                                />
                                <div class="divider"></div>
			</dl>
			<dl>
				<input id="testFileInput" type="file" name="video" 
                                        uploaderOption="{
                                                swf:'<?php echo base_url('static/uploadify/scripts/uploadify.swf');?>',
                                                uploader:'<?php echo site_url('admin/video/up_video');?>',
                                                formData:{PHPSESSID:'xxx', ajax:1},
                                                buttonText:'请选择视频文件',
                                                fileSizeLimit:'2000000KB',
                                                fileTypeDesc:'*.flv;*.mp4;',
                                                fileTypeExts:'*.flv;*.mp4;',
                                                auto:true,
                                                multi:true,
                                                debug:false,
                                                onUploadSuccess:uploadifySuccess,
                                                onQueueComplete:uploadifyQueueComplete
                                        }"
                                />

                                <div id="fileQueue" class="fileQueue"></div>


                                <div class="divider"></div>
			</dl>

			<dl>
				<a href="<?php echo site_url('admin/payment/edit_recharge');?>/<?php echo $data['name3'];?>" target="navTab"><span>提交外部地址</span></a>
				<div class="divider"></div>
			</dl>

			<div class="divider"></div>
			<p></p>
		</div>
		<div class="formBar">
			<ul>
			</ul>
		</div>
	</form>
	
</div>